package com.bcu.cn.onlineexamsystem.questionmanage.service;

import com.bcu.cn.onlineexamsystem.questionmanage.entity.QuestionManage;
import com.bcu.cn.onlineexamsystem.exammanage.entity.Course;
import java.util.List;
import java.util.Map;

public interface QuestionManageService {
    List<QuestionManage> getQuestionsByTeacherId(String teacherId);
    
    QuestionManage getQuestionById(Long questionId);
    
    boolean addQuestion(QuestionManage question);
    
    boolean updateQuestion(QuestionManage question);
    
    boolean deleteQuestion(Long questionId, String teacherId);
    
    List<QuestionManage> getQuestionsByCourseId(String courseId, String teacherId);
    
    List<Course> getTeacherCourses(String teacherId);
    
    Map<Course, List<QuestionManage>> getQuestionsGroupByCourse(String teacherId);
} 